<template>
	<view class="main">
		<!-- <button type="default" @click="getForm">getForm</button> -->
		<view class="active_form" style="width: 100%;">
			<view class="active_label" style="width: 42rem;">
				是否办理商用车按揭：
			</view>
			<view class="active_input">
				<radio-group @change="((o)=>{form.checked=o.detail.value})">
					<label class="radio">
						<radio value="2" :checked="1 === form.carMortgage" />是</label>
					<label class="radio">
						<radio value="1" :checked="2 === form.carMortgage" />否</label>
				</radio-group>
			</view>
		</view>
	</view>
</template>

<script>
	import SelectPicker from "../../SelectPicker";
	import RegionPicker from "../../RegionPicker";
	import region from '../areaList.js'
	export default {
		name: 'isHandleComVehicleMortgage',
		data() {
			return {
				region,
				province: "",
				city: "",
				county: "",
				index: 1,
				listNum:1,
				form: {
					corCerttype: '',
					checked:'',
					carMortgage:''
				},
			}
		},
		components: {
			SelectPicker,
			RegionPicker

		},
		watch:{
			form:{
				handler:function(res){
					//console.warn('isHandleComVehicleMortgage组件数据变化',res)
					getApp().globalData.isHandleComVehicleMortgage = res
				},
				deep:true
			}
		},
		methods:{
			getForm(){
			
				
			},
			getArea(res){
				
			}
		}
	}
</script>

<style lang="scss">
	
	
</style>

